package com.spark.dao;

import com.spark.pojo.Task;

import java.sql.SQLException;

/**
 * @author jianger
 * @ date  2018/3/30-9:59
 * @project com.spark.dao
 * <p>
 * 数据层接口
 */
public interface TaskDao {

    /**
     * 根据主键查找task
     * @param taskId
     * @return
     */
    Task findById(long taskId) throws SQLException;

}
